package com.lanlian.commonlib.network;

import com.lanlian.commonlib.bean.BaseResponse;

/**
 * <pre>
 *     author : huxiaobo
 *     e-mail : xiaobo.hu@quncaotech.com
 *     time   : 2017/11/01
 *     desc   :
 *     version: 3.0
 * </pre>
 */
public interface INetWorkCallback<T> {

    void onSuccess(T response);

    void onFail(BaseResponse baseResponse);

}
